<template>
  <div>
    <router-view v-slot="{ Component }">
      <keep-alive excludeKey="[]">
        <component
          :is="Component"
          :key="$route.name"
          v-if="$route.meta.keepAlive"
        />
      </keep-alive>
      <component
        :is="Component"
        :key="$route.name"
        v-if="!$route.meta.keepAlive"
      />
    </router-view>
  </div>
</template>
<script setup>
</script>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
